<?php 

class Test_Conection extends CI_Controller
{

	function __construct()
	{
		parent::controller();
		$this->load->model('Conection_Model');
	}

	function index()
	{
		$data['count'] = $this->Conection_Model->count();

		$this->load->view('conection_view', $data);
	}
}